package ru.ksu.ktk.diploma.sdi.mapping;

import java.io.IOException;
import java.util.List;

import com.hp.hpl.jena.ontology.OntModel;

public interface MappingGenerator {

	/**
	 * generate correspondences between conceptual schema and CRM ontology
	 * 
	 * @param sourceData
	 *             source data model
	 * @throws IOException if data with given URI cannot be read 
	 */
	List<Correspondence> getCorrespondences(OntModel sourceData) throws IOException;
	/**
	 * generate mapping
	 * 
	 * @param correspondences list of correspondences
	 * @return
	 */
	List<Triple> generateMapping(List<Correspondence> correspondences);
}